package com.example.yunifang.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

public class DateUtilsl {
	@SuppressWarnings("deprecation")
	public static String parsetime(long time) {
		SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss",Locale.getDefault());
		format.setTimeZone(TimeZone.getTimeZone("GMT+0"));
        
		String str = format.format(new Date(time*1000));
		return str;

	}
}
